/* 物流报表-司机物流统计
 */

import { getRequest, getDownload } from '@/lib/axios';

export const reportApi = {
  // 司机物流统计列表
  queryDriverList: (param) => {
    return getRequest('/report/driver', param);
  },
  // 司机物流导出
  exportDriver: (params) => {
    return getDownload('/report/driver', params);
  },
  // 经销商配送统计列表
  queryDealerList: (param) => {
    return getRequest('/report/dealer', param);
  },
  //经销商配送导出
  exportDealer: (params) => {
    return getDownload('/report/dealer', params);
  },
};
